/**
 * Created by BigBi on 2017/4/12.
 */
function Person(){
    var name;
    this.setName = function(thename){
        name = thename;
    }

    this.getName = function(){
        console.log('Hi,my name is ',name);
    }

}

module .exports = Person;//将方法、对象暴露出去